-
Home
-
WordPress Appointment Booking Plugin
-
1.16.0
-
Code
-
Classes
- Coupon
Total Complexity |
41 |
Dependencies |
4 |
Dependents |
2 |
Total lines |
254 |
Lines of code |
107 |
Logical lines of code |
52 |
Comment lines |
65 |
Methods |
22 |
Properties |
11 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
isApplicableForReservation() |
S |
61 |
7 |
12 |
calcDiscountForReservation() |
S |
61 |
4 |
12 |
isApplicableForBooking() |
S |
64 |
4 |
11 |
isValid() |
S |
73 |
3 |
5 |
increaseUsageCount() |
S |
71 |
2 |
6 |
calcDiscountForBooking() |
S |
69 |
2 |
7 |
calcDiscountAmount() |
S |
69 |
2 |
7 |
isExceededUsageLimit() |
S |
79 |
2 |
3 |
isExpired() |
S |
74 |
2 |
4 |
isPublic() |
S |
80 |
1 |
3 |
getStatus() |
S |
82 |
1 |
3 |
getCode() |
S |
82 |
1 |
3 |
getUsageCount() |
S |
82 |
1 |
3 |
getUsageLimit() |
S |
82 |
1 |
3 |
getMaxDate() |
S |
82 |
1 |
3 |
getMinDate() |
S |
82 |
1 |
3 |
getServiceIds() |
S |
82 |
1 |
3 |
getExpirationDate() |
S |
82 |
1 |
3 |
getAmount() |
S |
82 |
1 |
3 |
getType() |
S |
82 |
1 |
3 |
getDescription() |
S |
82 |
1 |
3 |
__get() |
S |
75 |
1 |
4 |